/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.pdx.cs.guavadata.condition;

import edu.pdx.cs.guavadata.subclass.ConditionType;

/**
 *
 * @author VuTran
 */
public class DisplayCondition {
    String conditionString;
    
    public String getConditionString() {
        return conditionString;
    }
    
    public void setConditionString(String value) {
        conditionString = value;
    }
    
    private ConditionType type;

    /**
     * @return the type
     */
    public ConditionType getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(ConditionType type) {
        this.type = type;
    }

    public DisplayCondition(ConditionType type, String conditionString) {
        this.conditionString = conditionString;
        this.type = type;
    }

    @Override
    public String toString() {
        return this.getConditionString();
    }
    
    
}
